package com.qy566.gps.pulsar.entidy;


import java.util.Date;

/**
 * 对应的设备上传位置
 */
public class Position {



    /**
     * 消息流水号
     */
    private int index;

    private String type;

    /**
     * 设备唯一id
     */
    private String deviceCode;
    /**
     * 车牌号
     */
    private String carNo;
    /**
     * 设备时间
     */
    private Date fixtime;
    /**
     * 校验位
     */
    private boolean valid;
    /**
     * 经度
     */
    private double latitude;
    /**
     * 纬度
     */
    private double longitude;
    /**
     * 地址
     */
    private String address;
    /**
     * 海拔
     */
    private double altitude;
    /**
     * 速度
     */
    private double speed;
    /**
     * 方向
     */
    private double course;
    /**
     * 定位精度
     */
    private double accuracy;
    /**
     * 数据来源
     */
    private String dataSource;
    /**
     * 扩展属性
     */
    private String attributes;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public Date getFixtime() {
        return fixtime;
    }

    public void setFixtime(Date fixtime) {
        this.fixtime = fixtime;
    }

    public boolean isValid() {
        return valid;
    }

    public void setValid(boolean valid) {
        this.valid = valid;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public double getCourse() {
        return course;
    }

    public void setCourse(double course) {
        this.course = course;
    }

    public double getAccuracy() {
        return accuracy;
    }

    public void setAccuracy(double accuracy) {
        this.accuracy = accuracy;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
